package com.example.mall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.dto.UserDTO;
import com.example.mall.domain.entity.User;
import com.example.mall.domain.vo.UserVO;

public interface UserService extends IService<User> {

    UserVO login(UserDTO userDTO);

    Page<UserVO> pageUserVOList(Page<UserVO> objectPage, String name, String role);

    UserVO getUserInfoById(Long id);
}